package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 低碳行为管理对象 behavior
 * 
 * @author 墨染
 * @date 2024-09-28
 */
public class Behavior extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @Excel(name = "低碳行为Id")
    private Long behaviorCode;

    @Excel(name = "低碳行为名称")
    private String behaviorName;

    @Excel(name = "行为类型Id")
    private Long typeUnitCode;

    @Excel(name = "扩展字段1")
    private String ext1;

    @Excel(name = "减碳量折算系数")
    private Double co2Coefficine;

    @Excel(name = "删除标识(0未删除,1已删除)")
    private Long isDel;

    @Excel(name = "低碳行为图片")
    private String imgPath;

    @Excel(name = "限制减碳获取量")
    private Double limitation;

    @Excel(name = "低碳行为类型Id")
    private Long behaviorType;

    @Excel(name = "扩展字段3")
    private String ext3;

    @Excel(name = "扩展字段4")
    private String ext4;

    @Excel(name = "扩展字段5")
    private String ext5;

    public void setBehaviorCode(Long behaviorCode) 
    {
        this.behaviorCode = behaviorCode;
    }

    public Long getBehaviorCode() 
    {
        return behaviorCode;
    }
    public void setBehaviorName(String behaviorName) 
    {
        this.behaviorName = behaviorName;
    }

    public String getBehaviorName() 
    {
        return behaviorName;
    }
    public void setTypeUnitCode(Long typeUnitCode) 
    {
        this.typeUnitCode = typeUnitCode;
    }

    public Long getTypeUnitCode() 
    {
        return typeUnitCode;
    }
    public void setExt1(String ext1)
    {
        this.ext1 = ext1;
    }

    public String getExt1()
    {
        return ext1;
    }
    public void setCo2Coefficine(Double co2Coefficine)
    {
        this.co2Coefficine = co2Coefficine;
    }

    public Double getCo2Coefficine()
    {
        return co2Coefficine;
    }
    public void setIsDel(Long isDel) 
    {
        this.isDel = isDel;
    }

    public Long getIsDel() 
    {
        return isDel;
    }
    public void setImgPath(String imgPath)
    {
        this.imgPath = imgPath;
    }

    public String getImgPath()
    {
        return imgPath;
    }
    public void setLimitation(Double limitation)
    {
        this.limitation = limitation;
    }

    public Double getLimitation()
    {
        return limitation;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }
    public void setExt4(String ext4) 
    {
        this.ext4 = ext4;
    }

    public String getExt4() 
    {
        return ext4;
    }
    public void setExt5(String ext5) 
    {
        this.ext5 = ext5;
    }

    public String getExt5() 
    {
        return ext5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("behaviorCode", getBehaviorCode())
            .append("behaviorName", getBehaviorName())
            .append("typeUnitCode", getTypeUnitCode())
            .append("ext1", getExt1())
            .append("co2Coefficine", getCo2Coefficine())
            .append("isDel", getIsDel())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("ImgPath", getImgPath())
            .append("limitation", getLimitation())
            .append("behaviorType", getBehaviorType())
            .append("ext3", getExt3())
            .append("ext4", getExt4())
            .append("ext5", getExt5())
            .toString();
    }

    public Long getBehaviorType() {
        return behaviorType;
    }

    public void setBehaviorType(Long behaviorType) {
        this.behaviorType = behaviorType;
    }
}
